﻿<Window x:Class="RefreshDemo.Window6"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:oxy="http://oxyplot.codeplex.com"
        Title="Refresh by changing InvalidateFlag property on the Plot" Height="480" Width="640">
    <DockPanel>
        <TextBlock DockPanel.Dock="Top" Text="{Binding Title}"/>
        <oxy:PlotView InvalidateFlag="{Binding Refresh}">
            <oxy:LineSeries ItemsSource="{Binding Points}"/>
        </oxy:PlotView>
    </DockPanel>
</Window>
